package com.jinke.api.modules.ums.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jinke.api.modules.app.enums.ChannelStatus;
import com.jinke.api.modules.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 后台用户表
 * </p>
 *
 * @author macro
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "运输服务", description = "运输服务")
public class ChannelDTO extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "运输服务名称")
    private String channelName;
    @ApiModelProperty(value = "运输服务Code")
    private String channelCode;
    @ApiModelProperty(value = "运输服务分组")
    private String serviceCode;
    @ApiModelProperty(value = "运输服务平台")
    private Integer channelPlatformId;
    @ApiModelProperty(value = "货运商")
    private Integer channelCarrierId;
    @ApiModelProperty(value = "溢价比例")
    private BigDecimal rate;
    @ApiModelProperty(value = "溢价")
    private BigDecimal price;
    @ApiModelProperty(value = "原始名称")
    private String channelOriginName;
    private Integer channelId;
    private ChannelStatus status;
    @ApiModelProperty(value = "地址ID")
    private String uuid;
    @ApiModelProperty(value = "备注")
    private String note;
    @ApiModelProperty(value = "货运商名全大写")
    private String carrierName;
}
